﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace VehicleList.Models
{
    public class VehicleListContext:DbContext
    {

        //static VehicleListContext()
        //{
        //    Database.SetInitializer<VehicleListContext>(null);
        //}

        public VehicleListContext() : base("Name=VehicleListContext") { }

        public DbSet<Vehicle> Vehicles { get; set; }
        public DbSet<VehicleInfo> VehicleInfos { get; set; }

    }
}